<?php
/**
 * debugLog.php
 * 
 * (C) 2009, tetsuya.odaka(EzoGP).
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* 
 * Myznala開発用のデバッガー定義
 * 
 * author；	t.odaka
 *
 * modified ; 2009/11/26 	t.odaka
 *          Config.phpのinclude_pathにあわせて、パスを調整
 *　
*/

	/* definition for logging
		loglevel; PEAR_LOG_ERR、PEAR_LOG_WARNING、PEAR_LOG_INFO
		PEAR_LOG_DEBUG etc. see PEAR_LOG manuals.
	*/

	// t.odaka 2009/11/26
	require_once("Log.php");
//	require_once("../PEAR/Log.php");
	
	$myDebugLog=Log::factory("file","../logs/myznala-debug.log","Debug: ".$_SERVER["PHP_SELF"]);
	$myDebugLog->setMask(Log::UPTO(PEAR_LOG_DEBUG));
//	$myDebugLog->setMask(Log::UPTO(PEAR_LOG_INFO));
?>
